package com.takeoff.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2024/8/30 3:50 PM
 * @Param
 * @return
 * @Version: 1.0
 **/
@Data
@TableName(value = "fr_financing_declaration")
public class FinancingDeclaration {

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;
    private String name;
    private String sex;
    private Integer age;
    private Date createTime;
    private Date updateTime;
    private Short status;
    private Integer datasource;
}
